package com.plumecache.core;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InstanceProperties {
    /**
     * the instance's name
     */
    private String name;

    /**
     * cache type:redis|redisCluster|memcached
     */
    private String type;

    /**
     * redis:   127.0.0.1:6379
     * redisCluster:    10.100.62.26:6605,10.100.62.27:6605,10.100.62.28:6605
     * memcached:   127.0.0.1:11211
     */
    private String endpoint;

    private String prefix;

    private String serializer;

    private String compressor;
}